package com.baselibrary.bean;

import android.text.TextUtils;

/**
 * client信息流对象
 */
public class ClientStreamLiveRoom {

    /**
     * public static final int status_normal = 0;//正常
     * public static final int status_delete = 1;//删除
     * public static final int status_down = 2;//下架
     * public static final int status_time = 3;//定时
     * <p>
     * public static final int ACTIVITY_NO_START = 1;//未开始
     * public static final int ACTIVITY_START = 2;//已开始
     * public static final int ACTIVITY_END = 3;//已结束
     * <p>
     * public static final int begin_no = 0;
     * public static final int begin_yes = 1;
     * <p>
     * public static final int ROOM_CODE_TRUE = 1;//展示房间码
     * public static final int ROOM_CODE_FALSE = 2;//不展示房间码
     * <p>
     * public static final int HOT_SHOW_TRUE = 1;//展示在热门
     * public static final int HOT_SHOW_FALSE = 2;//不展示在热门
     * <p>
     * //    public static final int TIME_TRUE = 1;//定时
     * //    public static final int TIME_FALSE = 2;//不定时
     * <p>
     * public static final int SEX_MAN = 1;//男
     * public static final int SEX_WOMAN = 2;//女
     */

    //@ApiModelPropertyperty(value = "id")
    private int id;

    //@ApiModelPropertyperty("名称")
    private String name = "";

    //@ApiModelPropertyperty("封面")
    private String cover = "";

    //@ApiModelPropertyperty(value = "缩略图")
    private String thumbnail = "";

    //@ApiModelPropertyperty(value = "直播状态 1未开始  2已开始  3已结束")
    private int activity;

    //@ApiModelPropertyperty("当前观看人数")
    private int lookNum;

    //@ApiModelPropertyperty(value = "邀请码（判断是否加锁）")
    private String roomCode = "";

    //@ApiModelPropertyperty(value = "开播时间")
    private long startTime;

    //@ApiModelPropertyperty(value = "直播人名称")
    private String liveName = "";

    //@ApiModelPropertyperty(value = "是否预约 1已预约 0未预约")
    private int isSubscribe;
    //直播人头像
    private String liveIcon="";

    public String getLiveIcon() {
        if (TextUtils.isEmpty(liveIcon))
            return "";
        return liveIcon;
    }

    public void setLiveHead(String liveIcon) {
        this.liveIcon = liveIcon;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCover() {
        return cover;
    }

    public void setCover(String cover) {
        this.cover = cover;
    }

    public String getThumbnail() {
        return thumbnail;
    }

    public void setThumbnail(String thumbnail) {
        this.thumbnail = thumbnail;
    }

    public int getActivity() {
        return activity;
    }

    public void setActivity(int activity) {
        this.activity = activity;
    }

    public int getLookNum() {
        return lookNum;
    }

    public void setLookNum(int lookNum) {
        this.lookNum = lookNum;
    }

    public String getRoomCode() {
        return roomCode;
    }

    public void setRoomCode(String roomCode) {
        this.roomCode = roomCode;
    }

    public long getStartTime() {
        return startTime;
    }

    public void setStartTime(long startTime) {
        this.startTime = startTime;
    }

    public String getLiveName() {
        return liveName;
    }

    public void setLiveName(String liveName) {
        this.liveName = liveName;
    }

    public int getIsSubscribe() {
        return isSubscribe;
    }

    public void setIsSubscribe(int isSubscribe) {
        this.isSubscribe = isSubscribe;
    }
}
